package com.nalai.market.v1.mapper;

import com.nalai.market.v1.model.Leveltwo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author com.nalai
 * @since 2021-08-23
 */
@Repository
public interface LeveltwoMapper extends BaseMapper<Leveltwo> {

    @Select("select * from category_leveltwo where category_levelone_id=#{leveloneId}")
    List<Leveltwo> selectByLeveloneId(Integer leveloneId);
}
